package com.wms.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 调拨入库DTO; (用于前端传输，简化数据结构以匹配图片中的显示效果)
 */
@ApiModel(value = "调拨入库DTO", description = "前端传输用的调拨入库条件数据")
@Data
public class AllocateInDTO extends PageVo{

    @ApiModelProperty(value = "调拨入库单号", example = "DR18011200001")
    private String allocateInCode;

    @ApiModelProperty(value = "TS调出单号", example = "DC18011200001")
    private String tsallocateInCode;

    @ApiModelProperty(value = "温区", example = "冷冻")
    private String warmzone;


    @ApiModelProperty(value = "调拨人", example = "liyuxuan")
    private String allocateName;

    @ApiModelProperty(value = "起始时间", example = "")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", shape = JsonFormat.Shape.STRING)
    private LocalDateTime startDate;

    @ApiModelProperty(value = "结束时间", example = "")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", shape = JsonFormat.Shape.STRING)
    private LocalDateTime endDate;

    @ApiModelProperty(value = "入库状态", example = "liyuxuan")
    private Integer status;
    @ApiModelProperty(value = "调入仓库", example = "")
    private String inName;
    @ApiModelProperty(value = "调出仓库", example = "")
    private String outName;
}